/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 * No deletion without permission, or be held responsible to law.
 * @author PR
 */
import { defHttp } from '/@/utils/http/axios';
import { useGlobSetting } from '/@/hooks/setting';
import { BasicModel, Page } from '../model/baseModel';

const { adminPath } = useGlobSetting();

export interface mesDev extends BasicModel<mesDev> {
  code?: string; // 编号
  verNum?: string; // 版本号
  kstLsProCardDataCList?: any[]; // 子表列表
}

export const devListData = (params?: mesDev | any) =>
  defHttp.get<mesDev>({ url: adminPath + '/card/mesDev/devListData', params });

export const devListDlData = (params?: mesDev | any) =>
  defHttp.get<mesDev>({ url: adminPath + '/card/mesDev/listDlData', params });;
